| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Static Public Member Functions | List of all members
nkAstraeus::nkGraphicsWrap::ViewportWrapper Class Referencefinal

Wraps a nkGraphics::Viewport and offers functions for use in scripting. More...

## Static Public Member Functions
static void | updateEnvironment (nkScripts::Environment *env)
static nkScripts::OutputValue | getHeight (const nkScripts::DataStack &stack)

## Detailed Description

Wraps a nkGraphics::Viewport and offers functions for use in scripting.

## Member Function Documentation

## ◆ updateEnvironment()

static void nkAstraeus::nkGraphicsWrap::ViewportWrapper::updateEnvironment | ( | nkScripts::Environment * | env | ) |
| static

Updates a given environment and set it up to use all functions wrapped by this wrapper.

Parameters

  env | The environment to set up.

## ◆ getHeight()

static nkScripts::OutputValue nkAstraeus::nkGraphicsWrap::ViewportWrapper::getHeight | ( | const nkScripts::DataStack & | stack | ) |
| static

Wrapper function for nkGraphics::Viewport::getHeight().

local h = v:getHeight() ;

Parameters

  stack | The parameter stack.

Returns
  The return value, as an int.

The documentation for this class was generated from the following file:

- Documentation/Headers/NilkinsAstraeus/Scripts/nkGraphicsWrap/Viewports/ViewportWrapper.h